package com.aierjun.controller;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

import com.aierjun.bean.UserBean;
import com.aierjun.service.UserService;

public class UserController2 implements Controller {

	@Override
	public ModelAndView handleRequest(HttpServletRequest req, HttpServletResponse resp) throws Exception {
		UserBean userBean=new UserBean();
		System.out.println("controller");
		return new ModelAndView("index");
	}
	
}
